import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex);

const store =new Vuex.Store({
    state:{
        loginShow: false,
        school:''
    },
    mutations:{
        changelogin(state,key){
           
       state.loginShow = key
       console.log(state.loginShow);
        },
        changeSchool(state,key){
            state.school = key
        }
    },
    actions:{

    },
    getters:{

    }
})

export default store;